package xcmg.syn.infra;

//import javafx.scene.layout.BorderRepeat;
//import org.springframework.data.redis.core.BoundGeoOperations;
//import xcmg.device.service.xgwj_eps.ZPMS_DEL_DELIVER.RETURN;

/**
 * @author
 * @create 2018-04-10 15=21
 **/
public abstract class AuthCode
{
    private static final long DEPOT = 101000;// 仓库管理
    private static final long MATERIEL = 102000;// 零件管理
    private static final long PRICE_SCHEME = 103000;// 价格方案
    private static final long BILL_TYPE = 104000;// 单据类型
    private static final long PRINT_CONF = 105000;// 打印配置
    private static final long CLIENT = 301000;// 客户管理
    private static final long GUARANTEES_APPLY = 302000;// 三包申请
    private static final long CLIENT_APPLY = 303000;// 客户申请
    private static final long SELL_INTENTION = 304000;         // 销售意向
    private static final long CLIENT_ALLOCATION = 305000;      // 客户间调拨
    private static final long DELIVERY_NOTICE = 306000;        // 发货通知单
    private static final long SALES_OFFSET = 307000;           // 销售冲销
    private static final long THREE_OFFSET = 308000;           // 三包冲销
    private static final long SUPPLIER = 401000;              // 供应商管理
    private static final long PURCHASE_PLAN = 402000;          // 采购计划
    private static final long PURCHASE_ORDER = 403000;         // 采购订单
    private static final long STOCK_OUT = 501000;              // 出库单
    private static final long STOCK_IN = 502000;               // 入库单
    private static final long INVENTORY = 503000;             // 盘点单

    private static final long INVENTORY_REPORT = 520000;      //盘点单报表

    private static final long STOCK_ALLOCATION = 504000;       // 区域调拨
    private static final long PICKING_BILL = 505000;           // 领料单
    private static final long STORAGE_RECORDS = 506000;        // 出入库记录
    private static final long DEPOT_STOCK = 507000;            // 仓库库存
    private static final long CLIENT_STOCK = 508000;           // 客户库存
    private static final long MATERIAL_TRANSFER = 509000;      // 转库单
    private static final long SAFE_INVENTORY = 510000;         // 安全库存
    private static final long HANDOVER_BILL = 601000;          // 发运交接单
    private static final long PACKAGE_CODE = 701000;           // 包装条码
    private static final long BASIS_CODE = 702000;             // 期初条码
    private static final long RE_PRINT = 703000;               // 包装条码补打
    private static final long UNBOXING_PRINT = 704000;             // 拆箱打印
    private static final long BACK_ORDER = 404000;             // 拆箱打印


    private static final long COMPANY_AUDIT = 801000;              // 企业审核
    private static final long COMPANY_MANAGE = 802000;             // 企业管理
    private static final long AUTH_TEMPLATE = 1500;                         //权限模板
    private static final long DEPARTMENT = 1100;                              //部门管理
    private static final long ROLE = 1400;                                             //角色
    private static final long ACCOUNT = 1000;                       // 账户
    private static final long USER = 1300;                                            //用户管理
    private static final long RECEIVER_ADDRESS = 1700;                                            //收货地址
    private static final long DICTIONARY = 901000;                             //参数配置
    private static final long APP_SETTING = 902000;                            //APP配置
    private static final long STOREFRONT_SETTING = 5123000;                            //网点信息配置
    private static final long Announcement = 1600;                             //通知公告管理

    private static final long AGENT_PLAN = 5124000;                 // 代理商采购计划
    private static final long AGENT_APPLY = 5126000;                 // 代理商门店、展会申请

    // 微信资料管理
    private static final long WECHAT_DOCUMENT = 5128000;

    // 施维英财务模块-发票管理
    private static final long SWY_INVOICE = 6010000;

    //代理商员工关联
    private static final long AGENT_EMPLOYEE = 6020000;

    //呆滞共享
    private static final long SLUGGISH_SHARD = 511000;

    //借用单
    private static final long BORROW_MATERIAL = 309000;

    //归还单
    private static final long RETURN_MATERIAL = 310000;

    //零件分类
    private static final long MATERIAL_CLASS = 106000;

    //出入库记录汇总
    private static final long STORAGE_RECORDS_GROUP = 512000;

   /**
     * 仓库管理
     */
    public static class Depot
    {
        public static final long ADD = DEPOT + 1;                               // code -- 101001 新增仓库
        public static final long ADD_AREA = DEPOT + 2;                           // code -- 101002 新增仓库
        public static final long ADD_PLACE = DEPOT + 3;                          // code -- 101003 新增储位
        public static final long PLACE_PRINT = DEPOT + 4;                        // code -- 101004 打印储位
    }

    /**
     * 零件
     */
    public static class Materiel
    {
        public static final long ADD = MATERIEL + 1;                        // code -- 102001 新增
        public static final long EDIT = MATERIEL + 2;                       // code -- 102002 编辑
        public static final long DEL = MATERIEL + 3;                        // code -- 102003 删除
        public static final long MATERIEL_UPDATE = MATERIEL + 4;                     // code -- 102004 更新SAP
        public static final long FROM_SAP = MATERIEL + 5;                    // code -- 102005 从SAP获取零件
        public static final long IMPORT = MATERIEL + 6;                     // code -- 102006 导入
        public static final long EXPORT = MATERIEL + 7;                     // code -- 102007 导出
    }

    /**
     * 价格方案
     */
    public static class PriceScheme
    {
        public static final long ADD = PRICE_SCHEME + 1;                 // code -- 103001 新增价格方案
        public static final long EDIT = PRICE_SCHEME + 2;                // code -- 103002 编辑价格方案
        public static final long DEL = PRICE_SCHEME + 3;                 // code -- 103003 删除价格方案
        public static final long SET_CLIENT = PRICE_SCHEME + 4;           // code -- 103004 配置价格方案客户
        public static final long SET_MATERIEL = PRICE_SCHEME + 5;         // code -- 103005 配置零件价格方案
        public static final long SET_MATERIEL_EXPORT = PRICE_SCHEME + 7;  // code -- 103007 配置零件价格方案导出
        public static final long SYN_PRICE = PRICE_SCHEME + 6;            // code -- 103006 价格方案全量同步
        public static final long SYN_PRICE_INCRE = PRICE_SCHEME + 8;      // code -- 103008 价格方案增量同步
    }

    /**
     * 单据类型
     */
    public static class BillType
    {
        public static final long ADD = BILL_TYPE + 1;                         // code -- 104001 新增单据类型
        public static final long EDIT = BILL_TYPE + 2;                        // code -- 104002 编辑单据类型
        public static final long DEL = BILL_TYPE + 3;                         // code -- 104003 删除单据类型
    }

    public static class PrintTpl
    {
        public static final long ADD = PRINT_CONF + 1;                      // code -- 105001 新增打印模板
        public static final long EDIT = PRINT_CONF + 2;                     // code -- 105002 编辑打印模板
        public static final long DEL = PRINT_CONF + 3;                      // code -- 105003 删除打印模板
        public static final long DEFAULT = PRINT_CONF + 4;                  // code -- 105004 设置默认打印模板
    }

    public static class Client
    {
        public static final long CLASS_ADD = CLIENT + 1;                       // code -- 301001 新增客户分类
        public static final long CLASS_EDIT = CLIENT + 2;                      // code -- 301002 编辑客户分类
        public static final long CLASS_DEL = CLIENT + 3;                       // code -- 301003 删除客户分类
        public static final long ADD = CLIENT + 4;                            // code -- 301004 新增客户
        public static final long EDIT = CLIENT + 5;                            // code -- 301005 编辑客户
        public static final long DEL = CLIENT + 6;                            // code -- 301006 删除客户
        public static final long INVITE = CLIENT + 7;                         // code -- 301007 邀请客户
        public static final long CLIENT_UPDATE = CLIENT + 8;                         // code -- 301008 更新SAP
        public static final long CLIENT_UPDATE_CRM = CLIENT +15;              //code -- 301015 更新crm
    }

    public static class ThreeGuarantees
    {
        public static final long ADD = GUARANTEES_APPLY + 1;         // code -- 302001 新增三包申请
        public static final long EDIT = GUARANTEES_APPLY + 2;        // code -- 302002 编辑三包申请
        public static final long DEL = GUARANTEES_APPLY + 3;         // code -- 302003 删除三包申请
        public static final long AUDIT = GUARANTEES_APPLY + 4;       // code -- 302004 审核三包申请
        public static final long EXPORT = GUARANTEES_APPLY + 5;      // code -- 302005 导出三包申请
    }

    public static class ClientApply
    {
        public static final long PURCHASE_APPLY_ADD = CLIENT_APPLY + 1;                 // code -- 303001 新增采购申请
        public static final long PURCHASE_APPLY_EDIT = CLIENT_APPLY + 2;                // code -- 303002 编辑采购申请
        public static final long PURCHASE_APPLY_DEL = CLIENT_APPLY + 3;                 // code -- 303003 删除采购申请
        public static final long PURCHASE_APPLY_AUDIT = CLIENT_APPLY + 4;               // code -- 303004 审核采购申请
        public static final long RETURN_APPLY_ADD = CLIENT_APPLY + 5;                   // code -- 303005 新增退货申请
        public static final long RETURN_APPLY_EDIT = CLIENT_APPLY + 6;                  // code -- 303006 编辑退货申请
        public static final long RETURN_APPLY_DEL = CLIENT_APPLY + 7;                   // code -- 303007 删除退货申请
        public static final long RETURN_APPLY_AUDIT = CLIENT_APPLY + 8;                 // code -- 303008 审核退货申请
        public static final long RETURN_APPLY_PRINT = CLIENT_APPLY + 9;                 // code -- 303009 打印退货申请
        public static final long PURCHASE_APPLY_EXPORT = CLIENT_APPLY + 10;             // code -- 303010 导出采购申请
        public static final long RETURN_APPLY_EXPORT = CLIENT_APPLY + 11;               // code -- 303011 导出退货申请
        public static final long RETURN_APPLY_MANUL_ADD = CLIENT_APPLY + 12;            // code -- 303012 导出退货申请
        public static final long PURCHASE_APPLY_SYNC_CRM = CLIENT_APPLY + 14;           // code -- 303014 同步crm
    }

    public static class SaleIntention
    {
        public static final long ADD = SELL_INTENTION + 1;               // code -- 304001 手动制定销售意向
        public static final long ADDAUTO = SELL_INTENTION + 2;           // code -- 304002 自动制定销售意向
        public static final long EDIT = SELL_INTENTION + 3;              // code -- 304003 编辑销售意向
        public static final long EXPORT = SELL_INTENTION + 4;            // code -- 304004 导出销售意向
        public static final long DEL = SELL_INTENTION + 6;               // code -- 304006 导出销售意向
        public static final long SYN_PRICE = SELL_INTENTION + 7;         // code -- 304007 销售意向同步价格
        public static final long UPLOAD_FILE = SELL_INTENTION + 8;         // code -- 304008 上传附件
    }

    public static class ClientAllocation
    {
        public static final long ADD = CLIENT_ALLOCATION + 1;        // code -- 305001 新增客户间调拨
        public static final long EDIT = CLIENT_ALLOCATION + 2;       // code -- 305002 编辑客户间调拨
        public static final long DEL = CLIENT_ALLOCATION + 3;        // code -- 305003 删除客户间调拨
        public static final long AUDIT = CLIENT_ALLOCATION + 4;      // code -- 305004 审核客户间调拨
        public static final long PRINT = CLIENT_ALLOCATION + 5;      // code -- 305005 打印客户间调拨
        public static final long EXPORT = CLIENT_ALLOCATION + 6;     // code -- 305006 导出客户间调拨
    }

    public static class DeliveryNote
    {
        public static final long ADD = DELIVERY_NOTICE + 1;            // code -- 306001 新增发货通知单
        public static final long EDIT = DELIVERY_NOTICE + 2;           // code -- 306002 编辑发货通知单
        public static final long DEL = DELIVERY_NOTICE + 3;            // code -- 306003 删除发货通知单
        public static final long PRINT = DELIVERY_NOTICE + 4;          // code -- 306004 打印发货通知单
    }

    public static class SaleReverse
    {
        public static final long ADD = SALES_OFFSET + 1;                  // code -- 307001 新增销售冲销
        public static final long EDIT = SALES_OFFSET + 2;                 // code -- 307002 编辑销售冲销
        public static final long DEL = SALES_OFFSET + 3;                  // code -- 307003 删除销售冲销
        public static final long AUDIT = SALES_OFFSET + 4;                // code -- 307004 审核销售冲销
        public static final long EXPORT = SALES_OFFSET + 5;               // code -- 307005 导出销售冲销
    }

    public static class Supplier
    {
        public static final long CLASS_ADD = SUPPLIER + 1;                    // code -- 401001 新增供应商分类
        public static final long CLASS_EDIT = SUPPLIER + 2;                   // code -- 401002 编辑供应商分类
        public static final long CLASS_DEL = SUPPLIER + 3;                    // code -- 401003 删除供应商分类
        public static final long ADD = SUPPLIER + 4;                         // code -- 401004 新增供应商
        public static final long EDIT = SUPPLIER + 5;                        // code -- 401005 编辑供应商
        public static final long DEL = SUPPLIER + 6;                         // code -- 401006 删除供应商
        public static final long BIND = SUPPLIER + 7;                        // code -- 401007 绑定供应商
        public static final long GET_SAP = SUPPLIER + 9;                      // code -- 401009 供应商更新SAP
        public static final long INVITE = SUPPLIER + 10;
    }

    public static class PurchaseOrder
    {
        public static final long ADD = PURCHASE_ORDER + 1;             // code -- 403001 新增采购订单
        public static final long EDIT = PURCHASE_ORDER + 2;            // code -- 403002 编辑采购订单
        public static final long DEL = PURCHASE_ORDER + 3;             // code -- 403003 删除采购订单
        public static final long EXPORT = PURCHASE_ORDER + 4;          // code -- 403004 导出采购订单
    }

    public static class StockOut
    {
        public static final long UNUSUAL_OUT_ADD = STOCK_OUT + 1;                  // code -- 501001 新增非正常出库
        public static final long UNUSUAL_OUT_EDIT = STOCK_OUT + 2;                 // code -- 501002 编辑非正常出库
        public static final long UNUSUAL_OUT_DEL = STOCK_OUT + 3;                  // code -- 501003 删除非正常出库
        public static final long UNUSUAL_OUT_PRINT = STOCK_OUT + 4;                // code -- 501004 打印非正常出库
        public static final long GUARANTEES_OUT_ADD = STOCK_OUT + 5;               // code -- 501005 新增三包出库
        public static final long GUARANTEES_OUT_EDIT = STOCK_OUT + 6;              // code -- 501006 编辑三包出库
        public static final long GUARANTEES_OUT_DEL = STOCK_OUT + 7;               // code -- 501007 删除三包出库
        public static final long GUARANTEES_OUT_PRINT = STOCK_OUT + 8;             // code -- 501008 打印三包出库
        public static final long UNUSUAL_OUT_OUT = STOCK_OUT + 9;                  // code -- 501009 非正常出库出库
        public static final long GUARANTEES_OUT_OUT = STOCK_OUT + 10;              // code -- 501010 三包出库出库
        public static final long UNUSUAL_OUT_EXPORT = STOCK_OUT + 11;              // code -- 501011 导出非正常出库
        public static final long GUARANTEES_OUT_EXPORT = STOCK_OUT + 12;           // code -- 501012 导出三包出库
    }

    public static class StockIn
    {
        public static final long PURCHASE_IN_ADD = STOCK_IN + 1;                       // code -- 502001 新增采购入库
        public static final long PURCHASE_IN_EDIT = STOCK_IN + 2;                      // code -- 502002 编辑采购入库
        public static final long PURCHASE_IN_DEL = STOCK_IN + 3;                       // code -- 502003 删除采购入库
        public static final long UNUSUAL_IN_ADD = STOCK_IN + 4;                        // code -- 502004 新增非正常入库
        public static final long UNUSUAL_IN_EDIT = STOCK_IN + 5;                       // code -- 502005 编辑非正常入库
        public static final long UNUSUAL_IN_DEL = STOCK_IN + 6;                        // code -- 502006 删除非正常入库
        public static final long UNUSUAL_IN_PRINT = STOCK_IN + 7;                      // code -- 502007 打印非正常入库
        public static final long BEGINNING_IN_IMPORT = STOCK_IN + 8;                   // code -- 502008 导入期初入库
        public static final long RETURN_IN_ADD = STOCK_IN + 9;                         // code -- 502009 新增退货入库
        public static final long RETURN_IN_EDIT = STOCK_IN + 10;                       // code -- 502010 编辑退货入库
        public static final long RETURN_IN_DEL = STOCK_IN + 11;                        // code -- 502011 删除退货入库
        public static final long PURCHASE_IN_IN = STOCK_IN + 12;                       // code -- 502012 采购入库入库
        public static final long UNUSUAL_IN_IN = STOCK_IN + 13;                        // code -- 502013 非正常入库入库
        public static final long BEGINNING_IN_IN = STOCK_IN + 14;                      // code -- 502014 期初入库入库
        public static final long RETURN_IN_IN = STOCK_IN + 15;                         // code -- 502015 退货入库入库
        public static final long PURCHASE_IN_EXPORT = STOCK_IN + 16;                   // code -- 502016 导出采购入库
        public static final long UNUSUAL_IN_EXPORT = STOCK_IN + 17;                    // code -- 502017 导出非正常入库
        public static final long RETURN_IN_EXPORT = STOCK_IN + 18;                     // code -- 502018 导出退货入库
        public static final long RETURN_IN_POSTING = STOCK_IN + 40;                    // code -- 502040 退货入库过账
        public static final long RETURN_IN_POSTING_CANCEL = STOCK_IN + 41;             // code -- 502041 退货入库取消过账
        public static final long UNUSUAL_IN_SYNC_MES = STOCK_IN + 88;                  // code -- 502007 其它入库单从MES同步
    }

    public static class InventoryCheck
    {
        public static final long ADD = INVENTORY + 1;                       // code -- 503001 新增盘点单
        public static final long DEL = INVENTORY + 2;                       // code -- 503002 删除盘点单
        public static final long OPEN = INVENTORY + 3;                      // code -- 503003 启动盘点
        public static final long CLOSE = INVENTORY + 4;                     // code -- 503004 关闭盘点
    }

    public static  class InventoryCheckReport
    {
        public static final long EXPORT = INVENTORY_REPORT + 1;
        public static final long EXPORT_ALL = INVENTORY_REPORT + 2;
    }

    public static class RegionAllot
    {
        public static final long ADD = STOCK_ALLOCATION + 1;           // code -- 504001 新增区域调拨
        public static final long EDIT = STOCK_ALLOCATION + 2;          // code -- 504002 编辑区域调拨
        public static final long DEL = STOCK_ALLOCATION + 3;           // code -- 504003 删除区域调拨
        public static final long EXPORT = STOCK_ALLOCATION + 4;        // code -- 504004 导出区域调拨

        public static final long AUDIT = STOCK_ALLOCATION + 8;        // code -- 504008 导出区域调拨
    }

    public static class RegionAllotPlan
    {
        public static final long ADD = STOCK_ALLOCATION + 50;           // code -- 504050 新增(编辑)区域调拨计划
        public static final long SUBMIT = STOCK_ALLOCATION + 51;          // code -- 504051 提交区域调拨计划
        public static final long DEL = STOCK_ALLOCATION + 52;           // code -- 504052 删除区域调拨计划
        public static final long EXPORT = STOCK_ALLOCATION + 53;        // code -- 504053 导出区域调拨计划
        public static final long END_BILL = STOCK_ALLOCATION + 54;        // code -- 504054 结单区域调拨计划
    }

    public static class PickingBill
    {
        public static final long IN_ADD = PICKING_BILL + 1;                 // code -- 505001 新增从生产领料
        public static final long OUT_ADD = PICKING_BILL + 2;                // code -- 505002 新增从备件领料
        public static final long EDIT = PICKING_BILL + 3;                  // code -- 505003 编辑领料单
        public static final long DEL = PICKING_BILL + 4;                   // code -- 505004 删除领料单
        public static final long PRINT = PICKING_BILL + 5;                 // code -- 505005 打印领料单
        public static final long EXPORT = PICKING_BILL + 6;                // code -- 505006 导出领料单
        public static final long STORAGE_RECORDS_EXPORT = PICKING_BILL + 7;             // code -- 505007 导出出入库记录
        public static final long DEPOT_STOCK_EXPORT = PICKING_BILL + 8;                 // code -- 505008 导出仓库库存
        public static final long CLIENT_STOCK_EXPORT = PICKING_BILL + 9;                // code -- 505009 导出客户库存
    }

    public static class HandoverBill
    {
        public static final long ADD = HANDOVER_BILL + 1;                // code -- 601001 新增发运交接单
        public static final long EDIT = HANDOVER_BILL + 2;               // code -- 601002 编辑发运交接单
        public static final long PRINT = HANDOVER_BILL + 3;              // code -- 601003 打印发运交接单
        public static final long EXPORT = HANDOVER_BILL + 4;             // code -- 601004 导出发运交接单
    }

    public static class Company
    {
        public static final long AUDIT_COMPANY = COMPANY_AUDIT + 1;                  // 企业审核   code：801001

        public static final long COMPANY_ADD = COMPANY_MANAGE + 1;                 // 企业管理 -- 新增  code：802001
        public static final long COMPANY_EDIT = COMPANY_MANAGE + 2;              // 企业管理 -- 编辑  code：802002
        public static final long COMPANY_DEL = COMPANY_MANAGE + 3;              // 企业管理 -- 删除  code：802003
        public static final long COMPANY_EXPORT = COMPANY_MANAGE + 4;              // 企业管理 -- 导出  code：802004

        public static final long TEMPLATE_ADD = AUTH_TEMPLATE + 2;             // 权限模板 -- 新增  code：1502
        public static final long TEMPLATE_DEL = AUTH_TEMPLATE + 3;                              // 权限模板 -- 删除  code：1503
        public static final long TEMPLATE_EDIT = AUTH_TEMPLATE + 4;                              // 权限模板 -- 编辑  code：1504
        public static final long TEMPLATE_CONFIG = AUTH_TEMPLATE + 8;                              // 权限模板 -- 设置模板权限  code：1508
    }

    public static class InnerManage
    {
        public static final long DEPT_ADD = DEPARTMENT + 3;                       // 部门管理 -- 新增  code：1103
        public static final long DEPT_EDIT = DEPARTMENT + 4;                       // 商户管理 -- 编辑  code：1104
        public static final long DEPT_DEL = DEPARTMENT + 5;                       // 商户管理 -- 删除  code：1105


        public static final long ROLE_ADD = ROLE + 1;                       // 角色 -- 新增  code：1401
        public static final long ROLE_DEL = ROLE + 2;                       // 角色 -- 删除  code：1402
        public static final long ROLE_EDIT = ROLE + 4;                       // 角色 -- 编辑  code：1404
        public static final long ROLE_CONFIG = ROLE + 15;                       // 角色 -- 配置权限  code：1415


        public static final long USER_ADD = USER + 1;                       // 人员管理 -- 新增  code：1301
        public static final long USER_DEL = USER + 6;                       // 人员管理 -- 删除  code：1306
        public static final long USER_EDIT = USER + 8;                       // 人员管理 -- 编辑  code：1308
        public static final long USER_LOCKED = USER + 10;                       // 人员管理 -- 启用/锁定  code：1310
        public static final long USER_RESETPWD = ACCOUNT + 10;                           //人员管理  code -- 1010 重置密码


        public static final long ADDRESS_ADD=RECEIVER_ADDRESS+1;
        public static final long ADDRESS_EDIT=RECEIVER_ADDRESS+2;
        public static final long ADDRESS_DEL=RECEIVER_ADDRESS+3;
    }


    public static class SystemManage
    {
        public static final long     PARAM_ADD=DICTIONARY + 1;                         // 参数配置 -- 新增参数  code：901001
        public static final long     PARAM_EDIT=DICTIONARY + 2;                         // 参数配置 -- 编辑参数  code：901002

        public static final long     APP_SETTING_ADD=APP_SETTING + 1;                         // APP配置 -- 新增  code：902001
        public static final long     APP_SETTING_EDIT=APP_SETTING + 2;                       // APP配置 -- 编辑  code：902002
    }

    public static class ThreeReverse
    {
        public static final long ADD = THREE_OFFSET + 1;                  // code -- 307001 新增销售冲销
        public static final long EDIT = THREE_OFFSET + 2;                 // code -- 307002 编辑销售冲销
        public static final long DEL = THREE_OFFSET + 3;                  // code -- 307003 删除销售冲销
        public static final long AUDIT = THREE_OFFSET + 4;                // code -- 307004 审核销售冲销
        public static final long EXPORT = THREE_OFFSET + 5;               // code -- 307005 导出销售冲销
        public static final long IN = THREE_OFFSET + 6;                   // code -- 307006 入库销售冲销
        public static final long PRINT = THREE_OFFSET + 7;                // code -- 307007 打印销售冲销
        public static final long POSTING = THREE_OFFSET + 8;              // code -- 307008 过账销售冲销
        public static final long TRAN_IN = THREE_OFFSET + 9;              // code -- 308009 转入
        public static final long TRAN_OUT = THREE_OFFSET + 10;            // code -- 308010 转出
    }

    public static class MaterialTransfer
    {
        public static final long EXPORT = MATERIAL_TRANSFER + 1;               // code -- 509001 导出转库单
    }

    public static class SafeInventory
    {
        public static final long UPDATE = SAFE_INVENTORY + 1;               // code -- 510001 更新安全库存
        public static final long UPDATE_ALL = SAFE_INVENTORY + 2;           // code -- 510002 更新全部安全库存
        public static final long EXPORT = SAFE_INVENTORY + 3;               // code -- 510003 导出安全库存
    }

    public static class BackApply
    {
        public static final long ADD = CLIENT_APPLY + 20;               // code -- 303020 新增回购申请
        public static final long EDIT = CLIENT_APPLY + 21;              // code -- 303021 编辑回购申请
        public static final long Del = CLIENT_APPLY + 22;               // code -- 303022 删除回购申请
        public static final long INVALID = CLIENT_APPLY + 23;           // code -- 303023 作废回购申请
        public static final long EXPORT = CLIENT_APPLY + 24;            // code -- 303024 导出回购申请
        public static final long FIRST_AUDIT = CLIENT_APPLY + 25;       // code -- 303025 回购申请第一步审核
        public static final long SECOND_AUDIT = CLIENT_APPLY + 26;      // code -- 303026 回购申请第二步审核
        public static final long PRINT = CLIENT_APPLY + 27;             // code -- 303027 打印回购申请
    }

    public static class BackOrder
    {
        public static final long ADD = BACK_ORDER + 1;               // code -- 404001 新增回购订单
        public static final long EDIT = BACK_ORDER + 2;              // code -- 404002 编辑回购订单
        public static final long DEL = BACK_ORDER + 3;               // code -- 404003 删除回购订单
        public static final long EXPORT = BACK_ORDER + 4;            // code -- 404004 导出回购订单
        public static final long PRINT = BACK_ORDER + 7;             // code -- 404007 打印回购订单
    }

    public static class BackIn
    {
        public static final long ADD = STOCK_IN + 50;               // code -- 502050 新增回购入库
        public static final long EDIT = STOCK_IN + 51;              // code -- 502051 编辑回购入库
        public static final long DEL = STOCK_IN + 52;               // code -- 502052 删除回购入库
        public static final long EXPORT = STOCK_IN + 53;            // code -- 502053 导出回购入库
        public static final long MADUAL = STOCK_IN + 54;            // code -- 502054 回购入库结单
        public static final long PRINT = STOCK_IN + 55;             // code -- 502055 回购入库打印
    }

    public static class Storefront
    {
        public static final long ADD = STOREFRONT_SETTING + 1;               // code -- 502050 新增网点信息
        public static final long EDIT = STOREFRONT_SETTING + 2;              // code -- 502051 编辑网点信息
        public static final long DEL = STOREFRONT_SETTING + 3;               // code -- 502052 删除网点信息

    }

    public static class AnnouncementManage
    {
        public static final long     Announcement_ADD=Announcement + 1;                         // 参数配置 -- 新增参数  code：1601
        public static final long     Announcement_EDIT=Announcement + 2;                         // 参数配置 -- 编辑参数  code：1602
        public static final long     Announcement_DEL=Announcement + 3;                         // APP配置 -- 删除  code：1603
    }

  /**
   * 代理商采购计划，门店与汇总后单据的 新增、导入、更新、删除、审核、导出权限
   */
  public static class AgentPlan {
      public static final long STORE_ADD = AGENT_PLAN + 1;
      public static final long STORE_IMPORT = AGENT_PLAN + 2;
      public static final long STORE_UPDATE = AGENT_PLAN + 3;
      public static final long STORE_DELETE = AGENT_PLAN + 4;
      public static final long STORE_AUDIT = AGENT_PLAN + 5;
      public static final long STORE_EXPORT = AGENT_PLAN + 6;

      public static final long SUMMARY_ADD = AGENT_PLAN + 7;
      public static final long SUMMARY_IMPORT = AGENT_PLAN + 8;
      public static final long SUMMARY_UPDATE = AGENT_PLAN + 9;
      public static final long SUMMARY_DELETE = AGENT_PLAN + 10;
      public static final long SUMMARY_AUDIT = AGENT_PLAN + 11;
      public static final long SUMMARY_EXPORT = AGENT_PLAN + 12;
    }

  /**
   * 代理商申请权限码
   */
  public static class AgentApply {
    //门店申请
    public static final long STORE_ADD = AGENT_APPLY + 1;
    public static final long STORE_UPDATE = AGENT_APPLY + 2;
    public static final long STORE_REVOKE = AGENT_APPLY + 3;
    public static final long STORE_FITSY_AUDIT = AGENT_APPLY + 4;
    public static final long STORE_FINAL_AUDIT = AGENT_APPLY + 5;
    public static final long STORE_FINISH = AGENT_APPLY + 6;
    public static final long STORE_DELETED = AGENT_APPLY + 7;
    // 展会申请
    public static final long EXHIBITION_ADD = AGENT_APPLY + 8;
    public static final long EXHIBITION_UPDATE = AGENT_APPLY + 9;
    public static final long EXHIBITION_REVOKE = AGENT_APPLY + 10;
    public static final long EXHIBITION_FITSY_AUDIT = AGENT_APPLY + 11;
    public static final long EXHIBITION_FINAL_AUDIT = AGENT_APPLY + 12;
    public static final long EXHIBITION_FINISH = AGENT_APPLY + 13;
    public static final long EXHIBITION_DELETED = AGENT_APPLY + 14;
  }

    public static class WechatDocument {
        // 编辑
        public static final long WECHAT_DOCUMENT_UPDATE = WECHAT_DOCUMENT + 1;
    }

  /**
   *
   * 施维英财务发票
   */
  public static class SwyInvoice {
    //门店申请
    public static final long INVOICE_ADD = SWY_INVOICE + 1;
    public static final long INVOICE_UPDATE = SWY_INVOICE + 2;
    public static final long INVOICE_PRINT = SWY_INVOICE + 3;
    public static final long INVOICE_EXPORT = SWY_INVOICE + 4;
    public static final long INVOICE_FINISH = SWY_INVOICE + 5;


    public static final long  ONELEVELAUDIT= SWY_INVOICE + 6;
    public static final long  TWOLEVELAUDIT= SWY_INVOICE + 7;

  }


    public static class Employee {
        public static final long ADD = AGENT_EMPLOYEE + 1;
        public static final long DEL = AGENT_EMPLOYEE + 2;
        public static final long SAVE_SETTING = AGENT_EMPLOYEE + 3;
        public static final long IMP_SETTING = AGENT_EMPLOYEE + 4;
        public static final long EXP_SETTING = AGENT_EMPLOYEE + 5;


    }

    public static class SLUGGISH{
      public static final long ADD = SLUGGISH_SHARD + 1;
      public static final long EDIT = SLUGGISH_SHARD + 2;
    }

    public static class BorrowMaterial{
      public static final long AUDIT = BORROW_MATERIAL + 1;
      public static final long DELETE = BORROW_MATERIAL + 2;
      public static final long EXPORT = BORROW_MATERIAL + 3;
      public static final long ADD = BORROW_MATERIAL + 4;
      public static final long EDIT = BORROW_MATERIAL + 5;
    }

    public static class ReturnMaterial{
      public static final long ADD = RETURN_MATERIAL + 1;
      public static final long DELETE = RETURN_MATERIAL + 2;
      public static final long EDIT = RETURN_MATERIAL + 3;
      public static final long PRINT = RETURN_MATERIAL + 4;
      public static final long EXPORT = RETURN_MATERIAL + 5;
      public static final long AUDIT = RETURN_MATERIAL + 6;
      public static final long UPLOAD = RETURN_MATERIAL + 7;
    }

    public static class MaterialClass{//零件分类
        public static final long ADD = MATERIAL_CLASS + 1;
        public static final long EDIT = MATERIAL_CLASS + 2;
        public static final long DELETE = MATERIAL_CLASS + 3;
    }


}
